package com.xuelang.pipeline.artifact.app.nexus3v1.xo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DockerAttributes {
    /**
     * Whether to force authentication (Docker Bearer Token Realm required if false)
     */
    private boolean forceBasicAuth;
    /**
     * Create an HTTP connector at specified port
     */
    private Long httpPort;
    /**
     * Create an HTTPS connector at specified port
     */
    private Long httpsPort;
    /**
     * Allows to use subdomain
     */
    private String subdomain;
    /**
     * Whether to allow clients to use the V1 API to interact with this repository
     */
    private boolean v1Enabled;
}